home *** CD-ROM | disk | FTP | other *** search
/ IRIX Installation Tools & Overlays 2001 May / SGI IRIX Installation Tools & Overlays 2001 May - Disc 3.iso / relnotes / dmedia_eoe / ch13.z / ch13
Text File  |  2001-04-16  |  15KB  |  397 lines

  1.  
  2.  
  3.  
  4.                                   - 1 -
  5.  
  6.  
  7.  
  8.        13.  _A_u_d_i_o_/_V_i_d_e_o__C_o_m_p_r_e_s_s_i_o_n
  9.  
  10.        The Digital Media Execution Environment provides a set of
  11.        software and hardware codecs for audio and video. The
  12.        programming interfaces and compression manager software for
  13.        software codecs and for memory-to-memory image
  14.        compression/decompression using hardware acceleration (eg,
  15.        the O2 image processing/compression engine) are included in
  16.        the Digital Media Library, _l_i_b_d_m_e_d_i_a._s_o. The programming
  17.        interfaces for the Cosmo Compress and Impact Compress
  18.        devices and for MPEG-1 video decompression are included in
  19.        the older Compression Library, _l_i_b_c_l._s_o.
  20.  
  21.        The _d_m_e_d_i_a__e_o_e.{_s_w,_s_w_3_2}._l_i_b subsystems contain o32 and n32
  22.        versions of the software image and audio codecs. The codecs
  23.        themselves are installed as individual DSO's in the
  24.        directories /usr/{lib,lib32}/dmedia/imageconverters and
  25.        /usr/{lib,lib32}/dmedia/audioconverters.
  26.  
  27.        Runtime support for the realtime memory-to-memory motion
  28.        JPEG encoder/decoder available for the O2 workstation is
  29.        included in the _d_m_e_d_i_a__e_o_e._s_w._b_a_s_e subsystem.
  30.  
  31.        Runtime support for the Cosmo Compress motion JPEG codec
  32.        option (which works in conjunction with the IndyVideo,
  33.        Indigo2 Video, and Galileo Video video I/O) is shipped as
  34.        part of the _c_o_s_m_o option product. Runtime support for the
  35.        Impact Compress motion JPEG codec option (which works in
  36.        conjunction with Impact Video) is shipped as part of the
  37.        _i_m_p_a_c_t_c_o_m_p option).
  38.  
  39.  
  40.        13.1  _A_u_d_i_o__C_o_d_e_c_s
  41.  
  42.  
  43.        The following software audio codecs are bundled with the
  44.        Digital Media Execution Environment in IRIX 6.3 and later:
  45.  
  46.           +o ITU G.711 mu-law/A-law speech codec
  47.  
  48.           +o ITU G.722 speech codec
  49.  
  50.           +o ITU G.726 speech codec
  51.  
  52.           +o ITU G.728 speech codec
  53.  
  54.           +o GSM speech codec
  55.  
  56.           +o DVI ADPCM codec
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.                                   - 2 -
  71.  
  72.  
  73.  
  74.           +o MPEG-1 audio codec (see "MPEG-1 Audio/Video Codec"
  75.             section below)
  76.  
  77.           +o Federal Standard 1016 CELP codec
  78.  
  79.           +o DV Audio (DIF)
  80.  
  81.  
  82.        Tools like _S_o_u_n_d_P_l_a_y_e_r(_1) and _M_e_d_i_a_P_l_a_y_e_r(_1) may be used to
  83.        play back sound or movie files which contain compress audio
  84.        data encoded using the above standard compression schemes.
  85.        _M_e_d_i_a_C_o_n_v_e_r_t(_1) and _d_m_c_o_n_v_e_r_t(_1) may be used to convert
  86.        to/from these various encoded formats.
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.        13.1.1  _A_w_a_r_e_r_,__I_n_c__M_u_l_t_i_R_a_t_e__A_u_d_i_o__C_o_d_e_c
  96.  
  97.        The Digital Media Execution Environment includes built-in
  98.        support for a high-fidelity audio codec from Aware,Inc
  99.        called the MultiRate codec. This codec offers a lossless
  100.        mode which provides approximately 2:1 or 3:1 data
  101.        compression for CD-quality audio sample data.
  102.  
  103.        To run applications that use Aware,Inc MultiRate codec
  104.        technology on a given Silicon Graphics system, you must
  105.        purchase a FlexLM license from Silicon Graphics.
  106.  
  107.        An Aware codec license will allow you to play/record AIFF-C
  108.        files which contain  MultiRate-encoded data by invoking
  109.        _s_f_p_l_a_y(_1) or _s_o_u_n_d_p_l_a_y_e_r(_1) for playback and _s_f_r_e_c_o_r_d(_1) for
  110.        recording.  The license will enable conversion to/from
  111.        AIFF-C files which contain MultiRate data via _d_m_c_o_n_v_e_r_t(_1)
  112.        or _M_e_d_i_a_C_o_n_v_e_r_t(_1).
  113.  
  114.        See the online man page _A_w_a_r_e(_5) for an overview of the
  115.        Aware MultiRate compression technology available to
  116.        developers and end users.
  117.  
  118.  
  119.        13.2  _I_m_a_g_e__C_o_d_e_c_s
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.  
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136.                                   - 3 -
  137.  
  138.  
  139.  
  140.        13.2.1  _C_h_a_n_g_e_s__a_n_d__A_d_d_i_t_i_o_n_s  This section lists
  141.        changes/additions to the image codecs between the IRIX 6.2
  142.        and IRIX 6.3/6.4 releases.
  143.  
  144.           +o IIIInnnnddddeeeeoooo eeeennnnccccooooddddiiiinnnngggg:::: Intel Indeo compression (a scheme
  145.             commonly used with AVI movie files and sometimes used
  146.             with QuickTime movies) is now supported. Tools like
  147.             _M_e_d_i_a_C_o_n_v_e_r_t(_1) and _d_m_c_o_n_v_e_r_t(_1) can be used to create
  148.             Indeo-encoded content.
  149.  
  150.           +o NNNNoooo lllliiiicccceeeennnnsssseeee rrrreeeeqqqquuuuiiiirrrreeeedddd ffffoooorrrr CCCCiiiinnnneeeeppppaaaakkkkrrrr VVVViiiiddddeeeeoooo eeeennnnccccooooddddiiiinnnngggg::::
  151.             Cinepak (also called "QuickTime Compact Video")
  152.             compression is now bundled with the IRIS Digital Media
  153.             Execution Environment. _M_e_d_i_a_C_o_n_v_e_r_t(_1) and _d_m_c_o_n_v_e_r_t
  154.             will now create QuickTime Cinepak movies without a
  155.             license.
  156.  
  157.           +o IIIImmmmpppprrrroooovvvveeeedddd ssssooooffffttttwwwwaaaarrrreeee JJJJPPPPEEEEGGGG ccccooooddddeeeecccc:::: The performance of the
  158.             standard software JPEG codec included in the Digital
  159.             Media Execution Environment has been improved for IRIX
  160.             6.3 and 6.4.
  161.  
  162.           +o RRRReeeeaaaallllttttiiiimmmmeeee JJJJPPPPEEEEGGGG ccccooooddddeeeecccc oooonnnn OOOO2222 ssssyyyysssstttteeeemmmmssss:::: The O2 image
  163.             processing/compression engine provides support for
  164.             motion JPEG encode and decode.  Realtime encode/decode
  165.             at resolutions up to NTSC, PAL, CCIR601/525, and
  166.             CCIR601/625 are supported. See the section of "O2
  167.             Realtime JPEG Codec" below.
  168.  
  169.  
  170.  
  171.  
  172.  
  173.        13.3  _R_e_a_l_t_i_m_e__J_P_E_G__C_o_d_e_c__f_o_r__O_2__W_o_r_k_s_t_a_t_i_o_n_s
  174.  
  175.        The Silicon Graphics O2 workstation family includes
  176.        integrated support for realtime memory-to-memory JPEG encode
  177.        and decode at resolutions up to NTSC, PAL, CCIR 601/525, and
  178.        CCIR 601/625.
  179.  
  180.        The compression/image processing engine is a shared system
  181.        resource, so realtime encode/decode performance is not
  182.        guaranteed when the engine is being shared between
  183.        applications or being used to encode/decode multiple JPEG
  184.        streams simultaneously by a single application.
  185.  
  186.  
  187.  
  188.        13.3.1  _K_n_o_w_n__P_r_o_b_l_e_m_s__a_n_d__W_o_r_k_a_r_o_u_n_d_s
  189.  
  190.  
  191.  
  192.  
  193.  
  194.  
  195.  
  196.  
  197.  
  198.  
  199.  
  200.  
  201.  
  202.                                   - 4 -
  203.  
  204.  
  205.  
  206.           +o RRRReeeessssttttrrrriiiiccccttttiiiioooonnnnssss oooonnnn iiiimmmmaaaaggggeeee ddddiiiimmmmeeeennnnssssiiiioooonnnnssss:::: _T_h_e _r_e_a_l_t_i_m_e _J_P_E_G
  207.             _c_o_d_e_c _p_r_o_v_i_d_e_s _s_u_p_p_o_r_t _f_o_r _e_n_c_o_d_i_n_g/_d_e_c_o_d_i_n_g _i_m_a_g_e_s
  208.             _w_h_i_c_h _h_a_v_e _h_e_i_g_h_t/_w_i_d_t_h _d_i_m_e_n_s_i_o_n_s _t_h_a_t _a_r_e _m_u_l_t_i_p_l_e_s
  209.             _o_f _8. _F_o_r _o_t_h_e_r _i_m_a_g_e _s_i_z_e_s, _t_h_e _s_y_s_t_e_m _f_a_l_l_s _b_a_c_k _t_o
  210.             _t_h_e _s_t_a_n_d_a_r_d _s_o_f_t_w_a_r_e _J_P_E_G _c_o_d_e_c.
  211.  
  212.  
  213.  
  214.        _1_3._4  _C_o_s_m_o__C_o_m_p_r_e_s_s__J_P_E_G__C_o_d_e_c
  215.  
  216.        The Cosmo Compress option for Indy and Indigo2 enables
  217.        realtime motion JPEG capture from video and playback to
  218.        video on those systems. (The product does not provide a
  219.        realtime memory-to-memory JPEG codec capability like the
  220.        capability offered by the built-in image
  221.        processing/compression engine in the O2 workstation.)
  222.  
  223.        Driver and Compression Library software support for the
  224.        Cosmo Compress is provided separately in the _c_o_s_m_o product
  225.        which ships along with the Cosmo hardware. See the _c_o_s_m_o
  226.        release notes for information about bug fixes, new features,
  227.        and known problems specific to the Cosmo JPEG codec.
  228.  
  229.  
  230.        13.5  _M_P_E_G_-_1__A_u_d_i_o_/_V_i_d_e_o__C_o_d_e_c
  231.  
  232.  
  233.  
  234.        13.5.1  _W_h_a_t__i_s__M_P_E_G_?   MPEG is a set of standards for
  235.        digitally coding video and audio.  The name is derived from
  236.        Moving Pictures Experts Group, which is the technical
  237.        committee of ISO/IEC (the International Organisation for
  238.        Standardisation and the International Electrotechnical
  239.        Commission) responsible for developing these specifications.
  240.  
  241.        Several standards have been developed, targeted for
  242.        different applications.  MPEG-1 encodes non-interlaced
  243.        material and is optimized for single-speed CD-ROM bitrates
  244.        (about 1.5 Mbps).  MPEG-2 handles interlacing and is
  245.        intended for applications at higher bitrates (4 Mbps or
  246.        greater) like studio-quality TV.  MPEG-4 is in its early
  247.        stages and is targeted for very low bitrates that may be
  248.        useful for videophone and other applications. (MPEG-3 was
  249.        intended for HDTV/ATV but was merged with MPEG-2).
  250.  
  251.        Below we summarize the components of MPEG-1.  This standard
  252.        specifies the syntax for three types of bitstreams : video,
  253.        audio, and systems.
  254.  
  255.           +o VVVViiiiddddeeeeoooo :  Compression utilizes transform coding and
  256.             motion estimation, which attempt to remove spatial and
  257.  
  258.  
  259.  
  260.  
  261.  
  262.  
  263.  
  264.  
  265.  
  266.  
  267.  
  268.                                   - 5 -
  269.  
  270.  
  271.  
  272.             temporal redundancies in the original image sequence.
  273.             Image dimensions up to 4096 by 4096 pixels and various
  274.             frame rates up to 60 Hz are specified (field
  275.             information is not defined in the video bitstream),
  276.             with bitrates up to 105 Mbps allowed.
  277.  
  278.           +o AAAAuuuuddddiiiioooo :  Compression is based on subband coding, which
  279.             divides the input into different frequency bands and
  280.             allocates bits across frequencies based on perceptual
  281.             importance.  Mono and stereo sources are supported at
  282.             sampling rates of 32, 44.1 and 48 KHz, and allowable
  283.             bitrates range from 32 to 448 Kbps.
  284.  
  285.             Three layers of encoding are specified : Layers I, II,
  286.             and III.  Generally speaking, the higher layers provide
  287.             better compression (lower bitrates for the same audio
  288.             quality) at the expense of greater computational
  289.             complexity.  The higher layers are also supersets of
  290.             the lower layers in the sense that a Layer III decoder
  291.             must be able to decode an audio bitstream of any layer,
  292.             and a Layer II decoder must be able to decode
  293.             bitstreams from Layers I and II.
  294.  
  295.           +o SSSSyyyysssstttteeeemmmmssss : The systems specification defines how the
  296.             compressed audio and compressed video bitstream are
  297.             multiplexed; no additional compression is performed.
  298.             This layer serves to packetize and interleave the
  299.             compressed audio and video data, along with timestamp
  300.             information and decoder buffering requirements.  Up to
  301.             16 video and 32 audio streams may be multiplexed in a
  302.             single systems stream.
  303.  
  304.        For more details on the MPEG standard, see the man page
  305.        _m_p_e_g(_4).
  306.  
  307.  
  308.        13.5.2  _M_P_E_G__S_u_p_p_o_r_t__i_n__I_R_I_X__6_._3   The software MPEG codec
  309.        included in  Digital Media Execution Environment 6.3
  310.        implements a subset of the MPEG-1 standard indicated below.
  311.        (Subsequent references to MPEG in these release notes assume
  312.        MPEG-1 unless otherwise specified.)
  313.  
  314.           +o VVVViiiiddddeeeeoooo :
  315.                - encoded width   min=16   max=4080 pixels
  316.                - encoded height  min=16   max=4080 pixels
  317.                - bit rate        min=100K max=4.5M bits per second
  318.  
  319.           +o AAAAuuuuddddiiiioooo :
  320.                - layers          I, II
  321.  
  322.  
  323.  
  324.  
  325.  
  326.  
  327.  
  328.  
  329.  
  330.  
  331.  
  332.  
  333.  
  334.                                   - 6 -
  335.  
  336.  
  337.  
  338.           +o SSSSyyyysssstttteeeemmmmssss :
  339.                - video streams   1
  340.                - audio streams   1
  341.                - pack size       min=500  max=10000 bytes
  342.                - bit rate        min=150K max=5.0M  bits per second
  343.  
  344.  
  345.        13.5.3  _C_h_a_n_g_e_s__a_n_d__A_d_d_i_t_i_o_n_s__s_i_n_c_e__I_R_I_X__6_._2
  346.  
  347.           +o No license required for MPEG audio/video encoding. The
  348.             MPEG-1 audio/video encoding software included in
  349.             _d_m_e_d_i_a__e_o_e is now available on all systems. The
  350.             command-line tool _d_m_c_o_n_v_e_r_t(_1) and the graphical tool
  351.             _m_e_d_i_a_c_o_n_v_e_r_t(_1) may be used to create MPEG-1 audio,
  352.             video, or systems files from other input formats
  353.             (QuickTime, AVI, AIFF, WAVE, etc).
  354.  
  355.  
  356.        13.5.4  _B_u_g__F_i_x_e_s__i_n__I_R_I_X__6_._5_._4
  357.  
  358.           +o BUG 673369 - Some Octane systems with the Impact
  359.             compression option card installed may panic on power up
  360.             if they have been off for more than 4 hours.  The
  361.             driver does not allow sufficient time for the
  362.             controller to complete reset processing. The reattach
  363.             routine now waits for a longer period of time after the
  364.             bus reset before attempting any GIO bus transactions.
  365.  
  366.           +o BUG 672908 - clDecompress hangs with single frame and
  367.             Impact Compression. This happens when hardware
  368.             interleaving is turned on. When interleaving is turned
  369.             on for every 2 fields of compressed data you get back
  370.             only 1 frame of uncompressed data. Low level routines
  371.             did not account for the halving in the number of
  372.             received frames. This has been fixed in this release.
  373.  
  374.           +o BUG 650934 - dmplay fails on ip22 w/ impact
  375.             compression. One of the Bug fixes to deal with single
  376.             frame compression did not propogate to the ip22/ip28
  377.             device driver. Now dmplay works on IP22/IP28
  378.  
  379.  
  380.  
  381.  
  382.  
  383.  
  384.  
  385.  
  386.  
  387.  
  388.  
  389.  
  390.  
  391.  
  392.  
  393.  
  394.  
  395.  
  396.  
  397.